package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RechargePayMethod {
    unknown(0, "unknown"),
    cash(1, "cash"),
    online(2, "online"),
    wxapp(3, "wxapp"),
    wechat(4, "wechat"),
    alipay(5, "alipay"),
    saving(6, "saving"),
    redpacket(7, "redpacket"),
    jybwxapp(8, "jybwxapp"),
    point(9, "point"),
    mixed(10, "mixed"),
    unionpay(11, "unionpay");

    @EnumValue
    private final int code;
    private final String desc;

    RechargePayMethod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
